package com.health.healthSys.domain;

import com.health.common.annotation.Excel;
import com.health.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 资讯点赞对象 health_info_like
 */
public class HealthInfoLike extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 点赞ID */
    private Long likeId;

    /** 资讯ID */
    @Excel(name = "资讯ID")
    private Long infoId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    public void setLikeId(Long likeId) {
        this.likeId = likeId;
    }

    public Long getLikeId() {
        return likeId;
    }

    public void setInfoId(Long infoId) {
        this.infoId = infoId;
    }

    public Long getInfoId() {
        return infoId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("likeId", getLikeId())
            .append("infoId", getInfoId())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .toString();
    }
} 